Hides the cursor during decompression operations.
pascal OSErr ICMShieldSequenceCursor (ImageSequence seqID);
Your component may call the ICMShieldSequenceCursor function to manage the display of the cursor during decompression operations.
For correct image display behavior, the cursor must be shielded (hidden) during decompression. By default, the Image Compression Manager handles the cursor for you, hiding it at the beginning of a decompression operation and revealing it at the end.
With the advent of scheduled asynchronous decompression, however, the ICM cannot do as precise a job of managing the cursor, because it does not know exactly when scheduled operations actually begin and end. While the ICM can still manage the cursor, it must hide the cursor when each request is queued, rather than when the request is serviced. This may result in the cursor remaining hidden for long periods of time.
In order to achieve better cursor behavior, you can choose to manage the cursor in your decompressor component. If you so choose, you can use the ICMShieldSequenceCursor function to hide the cursor--the ICM displays the cursor when you call the ICMDecompressComplete function. In this manner, the cursor is hidden only when your component is decompressing and displaying the frame.
Signals the completion of a decompression operation.
pascal void ICMDecompressComplete (
ImageSequence seqID,
OSErr err,
short flag,
ICMCompletionProcRecordPtr completionRtn);
Prior to QuickTime 2.0, decompressor components called the application's completion function directly. For compatibility, that method is still supported except for scheduled asynchronous decompression operations, which must use the ICMDecompressComplete call. Newer decompressors should always use ICMDecompressComplete rather than calling the completion function directly, regardless of the type of decompression operation.
| Previous | Chapter Contents | Chapter Top |